package top.ffhome.multithread.ch08.demo01;

public class Main {
    //8-1
    public static void main(String[] args) {
        Channel channel = new Channel(5); //工人线程的个数
        channel.startWorkers();
        new ClientThread("Alice", channel).start();
        new ClientThread("Bobby", channel).start();
        new ClientThread("Chris", channel).start();
    }
}
